
<fieldset><legend>基本信息</legend>
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">{[$result.id]}({[$result.emp_t]})</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">简称：</td>
		<td>{[$result.name]} ({[$result.zjm]})</td>
		<td align="right">等级：</td>
		<td><input type="radio" class="star" name="star" value="1" {[if $result.star eq '1']}checked{[/if]}/> <input type="radio"
			class="star" name="star" value="2" {[if $result.star eq '2']}checked{[/if]}/> <input type="radio" class="star"
			name="star" value="3" {[if $result.star eq '3']}checked{[/if]}/> <input type="radio" class="star" name="star" value="4"
			{[if $result.star eq '4']}checked{[/if]}/> <input type="radio" class="star" name="star" value="5" {[if $result.star eq '5']}checked{[/if]}/></td>
	</tr>
	<tr>
		<td align="right">全称：</td>
		<td colspan="3">{[$result.fullname]}</td>
	</tr>
	<tr>
		<td align="right">地址：</td>
		<td colspan="3">{[$result.address]}</td>
	</tr>
	<tr>
		<td align="right">创建时间：</td>
		<td>{[$result.createtime]}</td>
		<td align="right">负责人：</td>
		<td>{[$result.emp_t]}</td>
	</tr>
	<tr>
		<td align="right">更新时间：</td>
		<td>{[$result.modifytime]}</td>
		<td align="right">录入员：</td>
		<td>{[$result.oper_t]}</td>
	</tr>
</table>
</fieldset>

{[foreach name=outer key=key item=item from=$contact]}
{[assign var="no" value="`$no+1`"]}
<fieldset id="contact{[$no]}">
{[if $smarty.foreach.outer.first]}
<legend>主联系人 {[$no]}</legend>
{[else]}
<legend>联系人 {[$no]}</legend>
{[/if]}
{[include file="info/contact/_view.tpl"]}  
</fieldset>
{[/foreach]}

{[foreach name=outer key=key item=item from=$bank]}
<fieldset><legend>银行帐号</legend>
{[include file="finance/bank/_view.tpl"]}
</fieldset>
{[/foreach]}

<script src="/js/plugin/jquery.rating.js" type="text/javascript" language="javascript"></script>
<script type="text/javascript" src="js/star.js"></script>